-- background: 3816 from stack: in.0(ÉxÅ[É^î≈) -- bmap block id: 3983 -- flags: 0000 -- background id: 0 -- name: ----- HyperTalk script ----- on openCard hide menubar set the loc of bkgnd button "menubar" to 256,6 set the hilite of bkgnd button "menubar" to true end openCard on moveLevel get the loc of target put item 1 of it into X1 put item 2 of it into Y1 get the rect of card field "LevelF" put item 1 of it into Xmin put item 3 of it into Xmax repeat while true if the mouse is up then exit moveLevel else get the mouseLoc put item 1 of it into X2 put item 2 of it into Y2 if X2>Xmax then put Xmax into X2 set the loc of target to X2,Y1 end if if X2